<form action="<?php echo $aUrl; ?>" method="post" name="adminForm">
	<div id="config-document">
	
		<!-- start page-site -->
		<div id="page-site">
		<table class="noshow">
			<tr>
				<td width="65%">
				<fieldset class="adminform">
				<legend>基本信息</legend>
				<table class="admintable" cellspacing="1">
				<tbody>
					<tr>
						<td class="key">
							<span class="editlinktip hasTip" title="类别名称::">类别名称</span>
						</td>
						<td>
							<input type="text" name="categories[category_name]" class="text_area" size="50" value="<?php echo $model->category_name; ?>" />
						</td>
					</tr>
					<tr>
						<td class="key">
							<span class="editlinktip hasTip" title="所属模型::">所属模型</span>
						</td>
						<td>
							<select name="categories[module_id]" class="inputbox" size="1">
								<?php foreach ($modules as $module) : ?>
								<option value="<?php echo $module->module_id; ?>" <?php if ($model->module_id == $module->module_id) echo 'selected'; ?>>- <?php echo $module->module_name; ?> -</option>
								<?php endforeach; ?>
							</select>
						</td>
					</tr>
					<tr>
						<td class="key">
							<span class="editlinktip hasTip" title="父类别::">父类别</span>
						</td>
						<td>
							<select name="categories[category_pid]" class="inputbox" size="1">
								<option value="0">- 顶级类别 -</option>
								<?php echo $options; ?>
							</select>
						</td>
					</tr>
					<tr>
						<td class="key">
							<span class="editlinktip hasTip" title="显示菜单的排序::">显示菜单的排序</span>
						</td>
						<td>
							<input type="text" name="categories[menu_order]" class="text_area" size="10" value="<?php echo $model->menu_order != '' ? $model->menu_order : 15; ?>" />
						</td>
					</tr>
					<tr>
						<td valign="top" class="key">
							<span class="editlinktip hasTip" title="是否隐藏::">是否隐藏</span>
						</td>
						<td>
							<input type="radio" name="categories[is_hide]" class="inputbox" value="y" <?php if ($model->is_hide == 'y') echo 'checked'; ?> />
							<label for="is_hide0">隐藏</label>
							<input type="radio" name="categories[is_hide]" class="inputbox" value="n" <?php if ($model->is_hide != 'y') echo 'checked'; ?> />
							<label for="is_hide1">显示</label>
						</td>
					</tr>
					<tr>
						<td class="key">
							<span class="editlinktip hasTip" title="跳转链接::">跳转链接</span>
						</td>
						<td>
							<input type="text" name="categories[jump_url]" class="text_area" size="50" value="<?php echo $model->jump_url; ?>" />
						</td>
					</tr>
					<tr>
						<td valign="top" class="key">
							<span class="editlinktip hasTip" title="是否跳转::">是否跳转</span>
						</td>
						<td>
							<input type="radio" name="categories[is_jump]" class="inputbox" value="n" <?php if ($model->is_jump == 'n') echo 'checked'; ?> />
							<label for="is_jump0">否</label>
							<input type="radio" name="categories[is_jump]" class="inputbox" value="y" <?php if ($model->is_jump != 'n') echo 'checked'; ?> />
							<label for="is_jump1">是</label>
						</td>
					</tr>
					<tr>
						<td class="key">
							<span class="editlinktip hasTip" title="SEO Title (meta_title)::">SEO Title</span>
						</td>
						<td>
							<input type="text" name="categories[meta_title]" class="text_area" size="50" value="<?php echo $model->meta_title; ?>" />
						</td>
					</tr>
					<tr>
						<td class="key">
							<span class="editlinktip hasTip" title="SEO Keywords (meta_keywords)::">SEO Keywords</span>
						</td>
						<td>
							<input type="text" name="categories[meta_keywords]" class="text_area" size="50" value="<?php echo $model->meta_keywords; ?>" />
						</td>
					</tr>
					<tr>
						<td class="key">
							<span class="editlinktip hasTip" title="SEO Description (meta_description)::">SEO Description</span>
						</td>
						<td>
							<input type="text" name="categories[meta_description]" class="text_area" size="50" value="<?php echo $model->meta_description; ?>" />
						</td>
					</tr>
				</tbody>
				</table>
				</fieldset>
				</td>
				
				<td width="35%">
				<fieldset class="adminform">
				<legend>模板地址</legend>
				<table class="admintable" cellspacing="1">
				<tbody>
					<tr>
						<td class="key">
							<span class="editlinktip hasTip" title="封页模板名称::">封页模板名称</span>
						</td>
						<td>
							<input type="text" name="categories[tpl_index]" class="text_area" size="50" value="<?php echo $model->tpl_index; ?>" />
						</td>
					</tr>
					<tr>
						<td class="key">
							<span class="editlinktip hasTip" title="列表模板名称::">列表模板名称</span>
						</td>
						<td>
							<input type="text" name="categories[tpl_list]" class="text_area" size="50" value="<?php echo $model->tpl_list; ?>" />
						</td>
					</tr>
					<tr>
						<td class="key">
							<span class="editlinktip hasTip" title="文章模板名称::">文章模板名称</span>
						</td>
						<td>
							<input type="text" name="categories[tpl_view]" class="text_area" size="50" value="<?php echo $model->tpl_view; ?>" />
						</td>
					</tr>
					<tr>
						<td class="key">
							<span class="editlinktip hasTip" title="存放静态页面文件夹名::">生成静态页面存放目录名称</span>
						</td>
						<td>
							<input type="text" name="categories[html_dir]" class="text_area" size="50" value="<?php echo $model->html_dir; ?>" />
						</td>
					</tr>
					<tr>
						<td valign="top" class="key">
							<span class="editlinktip hasTip" title="是否生成静态页面::">是否生成静态页面</span>
						</td>
						<td>
							<input type="radio" name="categories[is_html]" class="inputbox" value="n" <?php if ($model->is_html != 'y') echo 'checked'; ?> />
							<label for="is_html0">伪静态或动态访问</label>
							<input type="radio" name="categories[is_html]" class="inputbox" value="y" <?php if ($model->is_html == 'y') echo 'checked'; ?> />
							<label for="is_html1">生成静态页面</label>
						</td>
					</tr>
					<tr>
						<td class="key">
							<span class="editlinktip hasTip" title="静态页面链接规则View::">静态页面链接规则View</span>
						</td>
						<td>
							<input type="text" name="categories[rule_view]" class="text_area" size="50" value="<?php echo $model->rule_view; ?>" />
						</td>
					</tr>
					<tr>
						<td class="key">
							<span class="editlinktip hasTip" title="静态页面链接规则List::">静态页面链接规则List</span>
						</td>
						<td>
							<input type="text" name="categories[rule_list]" class="text_area" size="50" value="<?php echo $model->rule_list; ?>" />
						</td>
					</tr>
				</tbody>
				</table>
				</fieldset>
				</td>
			</tr>
		</table>
		</div>
		<!-- end page-site -->
	
	</div>
	<input type="hidden" name="do" value="" />
	<input type="hidden" name="id" value="<?php echo $model->pk; ?>" /> 
	<div class="clr"></div>	
</form>